package cn.yunbamboos.media.zlm.client.result.data;

import com.alibaba.fastjson2.JSONObject;

public class GenericResultData implements IResultData {

    private String data;

    @Override
    public void decode(JSONObject body) {
        if(body != null && body.containsKey("data")) {
            this.data = body.getString("data");
        }
    }

    public String getData() {
        return data;
    }
}
